package com.qboot.common.consts;

/**
 * 通用常量
 *
 * @author Tellsea
 * @date 2022/12/27
 */
public class CommonConst {

    /**
     * 项目根目录
     */
    public static final String PROJECT_PATH = System.getProperty("user.dir");
    /**
     * 静态资源根目录
     */
    public static final String STATIC_FILE = "/staticFile";
    /**
     * 文件访问前缀
     */
    public static final String FILE_PREFIX = STATIC_FILE + "/upload";
    /**
     * 文件上传根目录
     */
    public static final String UPLOAD_PATH = PROJECT_PATH + FILE_PREFIX;
    /**
     * 代码生成根目录
     */
    public static final String GENERATE_PATH = PROJECT_PATH + STATIC_FILE + "/generate";
    /**
     * 临时目录
     */
    public static final String TEMP_PATH = PROJECT_PATH + STATIC_FILE + "/temp";
}
